#!/usr/bin/env python
# coding: utf-8
import web
from config import settings
from datetime import datetime

db = settings.db
tb = 'groups'

def get_groups():
	return db.select(tb,order = 'id ASC')
